package com.itheima.socket.tcp.demo03;

import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.util.concurrent.TimeUnit;

public class ClientDemo01 {

    public static void main(String[] args) throws IOException, InterruptedException {

        // 1. 创建Socket对象
        Socket socket = new Socket(InetAddress.getByName("169.254.106.206") , 9999) ;

        // 2. 让当前线程休眠1分钟
        TimeUnit.SECONDS.sleep(60);

    }

}
